﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SetSystem/SetSystem.master" AutoEventWireup="true" CodeBehind="StuTchDefense.aspx.cs" Inherits="Web.SetSystem.WebForm2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
<div style="padding:20px">
<table style="float:left">
<tr>
    <td colspan="2">
        <asp:Label ID="Label_EditStuDefense" runat="server" Text="为学生添加答辩信息：" CssClass="ContentLabel" Width="150px"></asp:Label>
    </td>
</tr>
<tr>
    <td>
        <asp:Label ID="Label_ClassInfo1" runat="server" Text="选择班级：" CssClass="ContentLabel"></asp:Label>
    </td>
    <td>
        <asp:DropDownList ID="DropDownList_ClassInfo1" runat="server" 
            AutoPostBack="True" 
            onselectedindexchanged="DropDownList_ClassInfo1_SelectedIndexChanged">
        </asp:DropDownList>
    </td>    
</tr>
<tr>
    <td>
        <asp:Label ID="Label_DefenseInfo1" runat="server" Text="选择答辩场次：" CssClass="ContentLabel" Width="100px"></asp:Label>
    </td>
    <td>
        <asp:DropDownList ID="DropDownList_DefenseInfo1" runat="server">
        </asp:DropDownList>
    </td>
</tr>
<tr>
    <td colspan="2">
        <asp:Label ID="Label_StuList" runat="server" Text="学生列表：" CssClass="ContentLabel"></asp:Label>
    </td>
</tr>
<tr>
    <td colspan="2">
        <asp:GridView ID="GridView_StuList" runat="server" AutoGenerateColumns="False" 
            AllowPaging="True" onpageindexchanging="GridView_StuList_PageIndexChanging" 
           >
            <Columns>
                <asp:BoundField DataField="stdid" HeaderText="学生学号" />
                <asp:BoundField DataField="stdname" HeaderText="学生姓名" />
                <asp:BoundField HeaderText="答辩信息" DataField="defenseinfo" />
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:CheckBox ID="CheckBox1" runat="server" />
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </td>
</tr>
<tr>
    <td colspan="2">
        <asp:ImageButton ID="ImageButton_StuAdd" runat="server"  
            ImageUrl="~/img/Control/Add.gif" onclick="ImageButton_StuAdd_Click"/>
        <asp:ImageButton ID="ImageButton_StuCancel" runat="server"  ImageUrl="~/img/Control/Cancel.gif"/>
        <asp:Label ID="Label_StuDefenseResult" runat="server" Text="" CssClass="Label_ReturnInfo"></asp:Label>
    </td>
</tr>
</table>
<%--<table>
<tr>
    <td colspan="2">
        <asp:Label ID="Label_EditTchDefense" runat="server" Text="为教师添加答辩信息：" CssClass="ContentLabel" Width="150px"></asp:Label>
    </td>
</tr>

<tr>
    <td>
        <asp:Label ID="Label_DefenseInfo2" runat="server" Text="选择答辩场次：" CssClass="ContentLabel" Width="100px"></asp:Label>
    </td>
    <td>
        <asp:DropDownList ID="DropDownList_DefenseInfo2" runat="server">
        </asp:DropDownList>
    </td>
</tr>
<tr>
    <td colspan="2">
    <asp:Label ID="Label_TchList" runat="server" Text="教师列表：" CssClass="ContentLabel"></asp:Label>
    </td>
</tr>
<tr>
<td colspan="2">
    <asp:GridView ID="GridView_TchList" runat="server">
    </asp:GridView>
</td>
</tr>
<tr>
    <td colspan="2">
        <asp:ImageButton ID="ImageButton_TchAdd" runat="server"  ImageUrl="~/img/Control/Add.gif"/>
        <asp:ImageButton ID="ImageButton_TchCancel" runat="server" ImageUrl="~/img/Control/Cancel.gif" />
    </td>
</tr>
</table>--%>
</div>
</asp:Content>
